909ce30898cbb98e5e89147830fd6c2581af7c1e,zanata-war/src/main/java/org/zanata/webtrans/server/rpc/GetTranslationHistoryHandler.java,GetTranslationHistoryHandler,execute,#GetTranslationHistoryAction#ExecutionContext#,53
Before Change
if (hTextFlowTarget != null)
{
latest = new TransHistoryItem(hTextFlowTarget.getVersionNum().toString(), hTextFlowTarget.getContents(),
hTextFlowTarget.getState(), hTextFlowTarget.getLastModifiedBy().getName(),
dateFormat.format(hTextFlowTarget.getLastChanged()));
// history translation
history = hTextFlowTarget.getHistory();
After Change
{
String lastModifiedBy = "unknown";
String lastModifiedDate = "unknown";
if (hTextFlowTarget.getLastModifiedBy() != null)
{
lastModifiedBy = hTextFlowTarget.getLastModifiedBy().getName();
lastModifiedDate = dateFormat.format(hTextFlowTarget.getLastChanged());